package com.litidea.commons.keys;

public class SystemKeys {

	// 默认文本类型和字符集
	public final static String SYSTEM_DEFAULT_CONTENT = "text/html; charset=UTF-8";
	// JSON文本类型和字符集
	public final static String SYSTEM_JSON_CONTENT = "text/json ; charset=UTF-8";
	
	// 默认字符集
	public final static String SYSTEM_DEFAULT_CHARSET = "UTF-8";
	
	// ajax请求字符集
	public final static String REQUEST_CHARSET = "UTF-8";
	
	// Jason数组字符串
	public final static String DEFAULT_JSONARRAY_STR = "[]";
	
	// Jason对象字符串
	public final static String DEFAULT_JSONOBJECT_STR = "{}";
	
	// 空字符串数组
	public final static String []EMPTY_STRING_ARRAY = {};
	
	// 添加部门节点类型：子部门
	public final static int ADD_DEPT_CHILD_TYPE = 1;
	
	// 添加节点类型：同级部门
	public final static int ADD_DEPT_SIBILING_TYPE = 3;
	
	// 编辑部门
	public final static int EDIT_DEPT = 2;
	
	// 删除部门
	public final static int DEL_DEPT = 4;
	
	// 移动部门
	public final static int MOVE_DEPT = 5;
	
	// 设置部门领导
	public final static int SET_DEPT_MGR = 6;
	
	// 
	public final static int BASE_DEL = 1;
	
	// 删除子节点
	public final static int DEL_MOVE_CHILDS = 2;
	
	// 级联删除
	public final static int DEL_CASCADE = 3;
	
	// 移动到之前
	public final static int MOVE_BEFORE = 1;
	
	// 移动到之后
	public final static int MOVE_AFTER = 2;
	
	// 移动到子节点
	public final static int MOVE_TO_CHILD = 3;
	
	// 公共添加选项
	public final static int PUB_ADD_OPTION = 1;
	
	// 公共编辑选项
	public final static int PUB_EDIT_OPTION = 2;
	
	// 公共删除选项
	public final static int PUB_DEL_OPTION = 4;
	
	// 公共等待选择
	public final static int PUB_WAIT_SELECT = 1;
	
	// 公共选中
	public final static int PUB_SELECTED = 2;
	
	// 用户登录对象字符串
	public final static String USER_LOGIN_DO = "user_login_do";
	
	public final static String ATTACHMENTS_UPLOAD_URL = "ATTACHMENTS_UPLOAD_URL";
	
	public final static String REPORT_UPLOAD_URL = "REPORT_UPLOAD_URL";
}
